/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.leastknowledge.plkviolate.impl;

import za.ac.cput.assignment2.leastknowledge.plkviolate.RectangleInterface;

/**
 *
 * @author yandiswa
 */
public class RectangleImpl implements RectangleInterface
{
int length, width;

    public String Draw()
    {
        return "Draw a Rectangle of " +length+ " by " +width;
    }

    public int Area(int len, int wid)
    {
        length = len;
        width = wid;
        return length*width;
    }

}
